<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

 
<link rel="stylesheet" href="<?php echo site_url();?>/media/css/style.css" type="text/css"	media="screen">
<script type="text/javascript" src="<?php echo site_url();?>/media/js/jquery-1.7.1.min.js"></script>


<style>
	body {
		background-color: #F9F9F6 ;
		font-family: Lucida Bright;
		margin: 0;
		padding: 0;
	}

</style>
	<form action="<?php echo site_url('escorts/submit_data/submit_new_video');?>" name="submit_new_video" id="submit_new_video" method="post" enctype="multipart/form-data" >		
		<div class="dashboard-info-wrapper">
			<div class="dashboard-info-left">
				<span>Upload Video</span>
			</div>		
			<div class="dashboard-info-right">
				<?php echo form_upload('upload_video',"", 'id="upload_video" size="10"');?>
			</div>
			<div class="clear"></div>	
		</div>
		<div class="dashboard-info-wrapper">
			<div class="dashboard-info-left">
				<span>Upload Avatar</span>
			</div>		
			<div class="dashboard-info-right">
				<?php echo form_upload('upload_avatar',"", 'id="upload_avatar" size="10"');?>
			</div>
			<div class="clear"></div>	
		</div>

		<div class="dashboard-info-wrapper">
			<div class="dashboard-info-left">
				&nbsp;
			</div>
			<div class="dashboard-info-right"> 
				<div class="select-box">
					<input type="submit" class="save-button" value="Upload" /> 
					<?php echo loader_image("class='loading_image hidden'");?>
				</div>
			 </div>
			<div class="clear"></div>
		</div>	 
	</form>



<script type="text/javascript">
	$(document).ready(function() { 
		$('#submit_new_video').submit(function(){
			$('.loading_image').removeClass('hidden');
		}); 
	});	
	 
</script> 	